.class public Lcom/instagram/android/y/b/c;
.super Ljava/lang/Object;
.source "VideoAnalyticsUtil.java"


# direct methods
.method public static a(Lcom/instagram/android/model/k;ILcom/instagram/b/d;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 22
    const-string v0, "video_playback"

    invoke-static {v0, p0, p2}, Lcom/instagram/android/y/b/c;->a(Ljava/lang/String;Lcom/instagram/android/model/k;Lcom/instagram/b/d;)V

    .line 23
    const-string v0, "video_start"

    invoke-static {v0, p0, p1, p2}, Lcom/instagram/android/feed/d/c;->a(Ljava/lang/String;Lcom/instagram/android/model/k;ILcom/instagram/b/d;)V

    .line 24
    return-void
.end method

.method private static a(Ljava/lang/String;Lcom/instagram/android/model/k;Lcom/instagram/b/d;)V
    .locals 5
    .parameter
    .parameter
    .parameter

    .prologue
    .line 37
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v1

    new-instance v0, Lcom/instagram/b/b;

    invoke-direct {v0, p0, p2}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "m_pk"

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->c()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v0

    const-string v2, "a_pk"

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->b()Lcom/instagram/android/model/b/e;

    move-result-object v3

    invoke-virtual {v3}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v0

    const-string v2, "m_ts"

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->j()Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Long;->longValue()J

    move-result-wide v3

    long-to-double v3, v3

    invoke-static {v3, v4}, Lcom/instagram/k/e/a;->a(D)D

    move-result-wide v3

    invoke-virtual {v0, v2, v3, v4}, Lcom/instagram/b/b;->a(Ljava/lang/String;D)Lcom/instagram/b/b;

    move-result-object v2

    const-string v3, "sound"

    invoke-static {}, Lcom/instagram/j/b/a;->a()Lcom/instagram/j/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/j/b/a;->q()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "1"

    :goto_0
    invoke-virtual {v2, v3, v0}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v0

    invoke-interface {v1, v0}, Lcom/instagram/b/c;->a(Lcom/instagram/b/b;)V

    .line 45
    return-void

    .line 37
    :cond_0
    const-string v0, "0"

    goto :goto_0
.end method

.method public static b(Lcom/instagram/android/model/k;ILcom/instagram/b/d;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 27
    const-string v0, "video_completion"

    invoke-static {v0, p0, p2}, Lcom/instagram/android/y/b/c;->a(Ljava/lang/String;Lcom/instagram/android/model/k;Lcom/instagram/b/d;)V

    .line 28
    const-string v0, "video_complete"

    invoke-static {v0, p0, p1, p2}, Lcom/instagram/android/feed/d/c;->a(Ljava/lang/String;Lcom/instagram/android/model/k;ILcom/instagram/b/d;)V

    .line 29
    return-void
.end method
